package com.itrip.login.service.imp;

import com.itrip.login.mapper.UserMapper;
import com.itrip.login.pojo.ItripUser;
import com.itrip.login.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author: Lenovo
 * @description: 用户实现类
 * @date: 2020/2/27 09:32
 */
@Service
public class UserServiceImpl implements UserService {
    @Resource
    private UserMapper userMapper;
    public List<ItripUser> userlogin(String userCode, String userPassword) {
        return userMapper.userlogin(userCode,userPassword);
    }
}
